package com.example.demo.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by dingkl on 2017/7/10.
 */
@Configuration
@ConfigurationProperties(prefix = "com.dkl1")
@PropertySource("classpath:test.properties")
public class Test1 {
    private String test1;

    public String getTest1() {
        return test1;
    }

    public void setTest1(String test1) {
        this.test1 = test1;
    }
}
